﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 数据模型，数据存储，数据操作，增删改查
/// </summary>
public class PlayerModel
{
    /// <summary>
    /// 名字数据
    /// </summary>
    private string _name;

    /// <summary>
    /// 设置名字
    /// </summary>
    /// <param name="name"></param>
    public void SetName(string name)
    {
        _name = name;
    }
    

    /// <summary>
    /// 回应名字
    /// </summary>
    /// <returns></returns>
    public string GetName()
    {
        return _name;
    }
}

